package Demo4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-06-10
 * Time: 16:07
 */
public class Cat extends Animal implements IBarking,IRunning{
    public Cat(String name) {
        super(name);
    }
    @Override
    public void bark() {
        System.out.println("小猫正在叫。。。");
    }
    @Override
    public void run() {
        System.out.println("小猫正在跑。。。");
    }
}
